#include <QCoreApplication>
#include"head.h"
#include<iostream>
using namespace std;

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    arraylist al;
    al.showlist();
    cout<<endl;
    al.inverselist();
    al.showlist();
    cout<<endl;
    return a.exec();
}
